package com.cskaoyan.controller.wx;

import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.service.wx.WxIssueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jzp
 * @since 2022/11/24 21:02
 */
@RestController
public class WxIssue {
    @Autowired
    WxIssueService wxIssueService;


    @RequestMapping("wx/issue/list")
    public BaseRespVo list(Integer page,Integer limit){
        CommonData commonData = wxIssueService.list(page,limit);
        return BaseRespVo.succeed(commonData);
    }
}
